ComponentOne ASP.NET MVC Controls
MaxHeaderItems Method

C1.Web.Mvc.Fluent Namespace > MultiSelectBuilder<T> Class : MaxHeaderItems Method
The value.
Configurates C1.Web.Mvc.MultiSelect<T>.MaxHeaderItems. Sets the maximum number of items to display on the control header.
Syntax
'Declaration
 
Public Function MaxHeaderItems( _
   ByVal value As Integer _
) As MultiSelectBuilder(Of T)
public MultiSelectBuilder<T> MaxHeaderItems( 
   int value
)

Parameters

value
The value.

Return Value

Current builder.
Remarks
If no items are selected, the header displays the text specified by the Placeholder property.If the number of selected items is smaller than or equal to the value of the MaxHeaderItems property, the selected items are shown in the header. If the number of selected items is greater than MaxHeaderItems, the header displays the selected item count instead.
See Also

Reference

MultiSelectBuilder<T> Class
MultiSelectBuilder<T> Members